import test from 'ava';

import get from '../../../dist/core/arr/get';

test('get number value', (t) => {
	t.is(get([1, 2, 3], 1), 2);
});

test('could not get value', (t) => {
	t.is(get(['a', 'b', 'c'], 10), undefined);
});
